package deviceservice.entity;

import java.io.Serializable;

/**
 * Created by Jason on 2017/9/6.
 */
public class DataSource implements Serializable {
    String auditObjName;
    Integer state;
    String dbType;
    String dbVersion;
    String ipString;
    Integer port;

    public String getAuditObjName() {
        return auditObjName;
    }

    public void setAuditObjName(String auditObjName) {
        this.auditObjName = auditObjName;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getDbType() {
        return dbType;
    }

    public void setDbType(String dbType) {
        this.dbType = dbType;
    }

    public String getDbVersion() {
        return dbVersion;
    }

    public void setDbVersion(String dbVersion) {
        this.dbVersion = dbVersion;
    }

    public String getIpString() {
        return ipString;
    }

    public void setIpString(String ipString) {
        this.ipString = ipString;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    @Override
    public String toString()
    {
        final StringBuilder sb;
        sb = new StringBuilder();
        sb.append(auditObjName);
        sb.append(state);
        sb.append(dbType);
        sb.append(dbVersion);
        sb.append(ipString);
        sb.setLength(sb.length() - 1);

        return (sb.toString());
    }
}
